package com.matt.domain.estimate;

import com.tuo51.foudation.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 点赞记录表
 */
@Data
@Entity
@Table(name = "like_record")
@EqualsAndHashCode(callSuper = true)
public class LikedRecord extends Model {

//    @Column(columnDefinition = " varchar(32) COMMENT '点赞纪录id' ")
//    private String id;

    @Column(columnDefinition = " varchar(32) COMMENT '用户id' ")
    private String userId;

    @Column(columnDefinition = " varchar(32) COMMENT '点赞业务id' ")
    private String bizId;

    @Column(columnDefinition = " varchar(32) COMMENT '点赞业务类型 1-评论' ")
    private String bizType;

    @Column(columnDefinition = " varchar(32) COMMENT '创建时间' ")
    private String createDate;
}
